﻿using MES.Desktop.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MES.Desktop.IService
{
    public interface IFuncService
    {
        IEnumerable<FuncEntity> GetAllFunctions(string key = "");
        IEnumerable<FuncEntity> GetFunctionByIds(string key = "");
        int Update(FuncEntity func);

        int Delete(string[] id);
        bool CheckName(string name, int id);
    }
}
